Version

IconSortCondition Constructor(FormatConditionIconSet,Nullable<Int32>,SortDirection)

Creates a new IconSortCondition instance.
Syntax
'Declaration
 
Public Function New( _
   ByVal iconSet As FormatConditionIconSet, _
   ByVal iconIndex As Nullable(Of Integer), _
   ByVal sortDirection As SortDirection _
)
public IconSortCondition( 
   FormatConditionIconSet iconSet,
   Nullable<int> iconIndex,
   SortDirection sortDirection
)

Parameters

iconSet
The set of icons.
iconIndex
The zero-based index of the icon in the iconset by which the cells should be sorted or null for 'NoCellIcon'.
sortDirection
The direction of the sort.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptioniconSet is not defined in the Infragistics.Documents.Excel.FormatConditionIconSet enumeration. sortDirection is not defined in the SortDirection enumeration.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also